package com.ewivt.excel.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalTime;

@Data
@NoArgsConstructor
@ToString
public class Location {

    private Long id;

    private String seq;
    private String locationName;
    private String block;
    private Double longitude;
    private Double latitude;
    private Double garbageLoad;
    private Double workStopPeriod;
    private LocalTime startPermitTimeWindow;
    private LocalTime endPermitTimeWindow;
    private LocalTime startProhibitTimeWindow;
    private LocalTime endProhibitTimeWindow;
    private Double pickupTimes;
    private Double passCond;

    public Location(String seq, String locationName, String block, Double longitude, Double latitude, Double garbageLoad, Double workStopPeriod, LocalTime startPermitTimeWindow, LocalTime endPermitTimeWindow, LocalTime startProhibitTimeWindow, LocalTime endProhibitTimeWindow, Double pickupTimes, Double passCond) {
        this.seq = seq;
        this.locationName = locationName;
        this.block = block;
        this.longitude = longitude;
        this.latitude = latitude;
        this.garbageLoad = garbageLoad;
        this.workStopPeriod = workStopPeriod;
        this.startPermitTimeWindow = startPermitTimeWindow;
        this.endPermitTimeWindow = endPermitTimeWindow;
        this.startProhibitTimeWindow = startProhibitTimeWindow;
        this.endProhibitTimeWindow = endProhibitTimeWindow;
        this.pickupTimes = pickupTimes;
        this.passCond = passCond;
    }
}
